package estacioPessoa;

public class Professor extends Pessoa {
	private String matProf;
	
	public Professor(String n, String c, String matProf){
		super(n, c);
		setMatProf(matProf);
		
	}
	
	@Override
	public String toString() {
		return "Professor -> matricula do Professor: " + matProf + " "+super.toString();
	}



	public String getMatProf() {
		return matProf;
	}

	public void setMatProf(String matProf) {
		this.matProf = matProf;
	}

}
